home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
danix201.zip
/
CMP.1
< prev
next >
Wrap
Text File
|
1994-01-13
|
673b
|
23 lines
CMP(1) Danix Utilities CMP(1)
NAME
cmp - compare files
SYNOPSIS
cmp [ -ls ] file1 file2
DESCRIPTION
cmp compares two files character for character. By default
the first difference in the two files is output.
-l Output all differences in the two files. Differences
are given by offset in the two files followed by the
octal characters of the two files.
-s Silent mode. No output is generated, but exit codes are set.
DIAGNOSTICS
An exit code of 0 indicates that the files were identical. Differing
files are indicated by an exit code of 1. An error in the command
line or file modes is indicated by an exit code of 2.